const express = require('express')
    // 创建路由对象
const router = express.Router()

// 导入用户处理函数对应模块
const instructor_handler = require('../router_handler/instructor')

router.get('/getClass', instructor_handler.getClass)
router.post('/classView', instructor_handler.classView)
router.post('/classCheck', instructor_handler.classCheck)

router.get('/getmajor', instructor_handler.getmajor)
router.post('/majorView', instructor_handler.majorView)
router.post('/majorCheck', instructor_handler.majorCheck)
    // 按学号获取考勤
router.post('/getAttendance', instructor_handler.getAttendance)

module.exports = router